package org.jackysoft.entity;

import javax.persistence.MappedSuperclass;
import javax.persistence.Transient;

@MappedSuperclass
public abstract class LREntity extends AbstractEntity implements LRValueable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -7316226109984166778L;
	protected int lft;
	protected int rgt;
	protected int depth;
	
	
	public int getLft() {
		return lft;
	}


	public void setLft(int lft) {
		this.lft = lft;
	}


	public int getRgt() {
		return rgt;
	}


	public void setRgt(int rgt) {
		this.rgt = rgt;
	}


	@Transient
	public int getDepth() {
		return depth;
	}
	public void setDepth(int depth) {
		this.depth = depth;
	}
}
